package com.htjx.mall.commons.mappers;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.htjx.mall.commons.models.User;

public interface UserMapper {
	
	public void insertOne(User user); 
	
	public void updateOne(User user);
	
	public List<User> selectByProperty(@Param("p_name") String propertyName, @Param("p_value") String propertyValue);
	
	public List<User> page(Map<String, Object> params);
	
	public int pageCount(Map<String, Object> params);
	
	//public Wallet selectWallet(@Param("user_id") long user_id, @Param("date") Date date);
}
